//
//  ShareData.m
//  Molian
//
//  Created by 小蚕科技 on 15/5/27.
//  Copyright (c) 2015年 xiaocan. All rights reserved.
//

#import "ShareData.h"

@implementation ShareData
static ShareData *shareData = nil;
+ (ShareData *)shareData
{
    @synchronized(self){
        if (!shareData) {
             shareData = [[ShareData alloc] init];
          
            shareData.likeUserDic = [NSMutableDictionary dictionary];
            shareData.likeArticlesDic = [NSMutableDictionary dictionary];
         
            shareData.chatterUsers = [NSMutableDictionary dictionary];
            shareData.friends = [NSMutableArray array];
           
         
            shareData.allSweetheartCount = 0;
        
            shareData.userDataDic = [NSMutableDictionary dictionary];
        }
        return shareData;
    }
}

@end
